<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>管理平台</title>

<link href="themes/default/style.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="themes/css/core.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="themes/css/print.css" rel="stylesheet" type="text/css" media="print"/>
<link href="uploadify/css/uploadify.css" rel="stylesheet" type="text/css" media="screen"/>
<!--[if IE]>
<link href="themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->
<style type="text/css">
	#header{height:85px}
	#leftside, #container, #splitBar, #splitBarProxy{top:90px}
</style>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=Nqe5FGfoIzPgx0Fc359aMXjm"></script>
<script src="js/speedup.js" type="text/javascript"></script>
<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="js/jquery.cookie.js" type="text/javascript"></script>
<script src="js/jquery.validate.js" type="text/javascript"></script>
<script src="js/jquery.bgiframe.js" type="text/javascript"></script>
<script src="xheditor/xheditor-1.1.14-zh-cn.min.js" type="text/javascript"></script>
<script src="uploadify/scripts/swfobject.js" type="text/javascript"></script>
<script src="uploadify/scripts/jquery.uploadify.v2.1.0.js" type="text/javascript"></script>


<script src="js/crm.upload.js" type="text/javascript"></script>


<script src="bin/dwz.min.js" type="text/javascript"></script>
<script src="js/dwz.regional.zh.js" type="text/javascript"></script>

<!-- 自定义JS 存储一些全局变量-->
<script src="jsutil/static.js"" type="text/javascript"></script>  

<script type="text/javascript">
$(function(){
	DWZ.init("dwz.frag.xml", {
		loginUrl:"login_dialog.html", loginTitle:"登录",	// 弹出登录对话框
//		loginUrl:"login.html",	// 跳到登录页面
		statusCode:{ok:200, error:300, timeout:301}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"themes"});
			<%--
			setTimeout(function() {$("#sidebar .toggleCollapse div").trigger("click");}, 10);
			--%>
		}
	});
});


</script>
</head>
<body scroll="no" >
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<!-- <a class="logo" href="javascript:void(0)"></a> -->
				<ul class="nav"> 
					<li id="switchEnvBox"><a href="javascript:">${userName},您好! 欢迎登陆管理平台</a></li>
				    <!-- <li><a href="http://www.hao123.com" target=_blank>权限设置</a></li> -->
					<li><a href="loginOut">重新登录</a></li>	
					<li><a href="loginOut">退出</a></li>	
					
				</ul>
				<ul class="themeList" id="themeList">
					<li theme="default"><div class="selected">蓝色</div></li>
					<li theme="green"><div>绿色</div></li>
					<li theme="purple"><div>紫色</div></li>
					<li theme="silver"><div>银色</div></li>
					<li theme="azure"><div>天蓝</div></li>
				</ul>
			</div>
		
			<div id="navMenu">
				<ul>
				<c:if test="${rightList!=null}"> 
					<c:forEach items="${rightList}" var="right" varStatus="right1">
					<c:if test="${right1.count==1}">
						<li class="selected" ><a  href="${right.rightValue}?menuId=${right.rightId}&menuName=${right.rightName}" ><span>${right.rightName}</span></a></li>
					</c:if>
					<c:if test="${right1.count!=1}">
						<li ><a  href="${right.rightValue}?menuId=${right.rightId}&menuName=${right.rightName}" ><span>${right.rightName}</span></a></li>
					</c:if>
					</c:forEach>
				</c:if>
				</ul>
			</div>
		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
				</div>
			</div>
			
			<div id="sidebar"> 
				<div class="accordion" fillSpace="sideBar">
					<div class="accordionHeader">
						<h2><span>Folder</span></h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<c:forEach items="${righSubtList}" var="righSubtList">
								<li><a href="${righSubtList.rightValue}&rightId=${righSubtList.rightId}" target="navTab" rel="${righSubtList.rightId}">${righSubtList.rightName}</a></li>
							</c:forEach>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
						 
						<div class="pageFormContent" layoutH="20">
							<iframe width="100%" height="430" class="share_self"  frameborder="0" scrolling="no" src=""></iframe>
						</div>
					</div>
					
				</div>
			</div>
		</div>

	</div>

	<%--<div id="footer">Copyright &copy; 2013 <a href="#" target="_blank">上海未星信息科技有限公司</a></div>

--%><script type="text/javascript">
 
 
</script>

</body>
</html> 
